package com.young.shop.service;

import com.young.domain.SysMenu;
import com.young.req.AddMenuReq;
import com.young.res.SysMenuRolePermRes;
import java.util.List;

public interface SysMenuService {

  SysMenuRolePermRes getMenuRolePerm(Long userId);

  /**
   * @Author kangyang
   * @Description 获取所有菜单
   * @Date 0:15 2021/5/16
   * @Param []
   * @return com.young.res.SysMenuRolePermRes
   **/
  List<SysMenu> getAllMenu();

  /**
   * @Author kangyang
   * @Description 新增菜单
   * @Date 16:05 2021/5/16
   * @Param [addMenuReq]
   * @return java.lang.Boolean
   **/
  Boolean inserMenu(AddMenuReq addMenuReq);

  /**
   * @Author kangyang
   * @Description 根据菜单Id查询菜单
   * @Date 12:48 2021/5/17
   * @Param [menuId]
   * @return com.young.domain.SysMenu
   **/
  SysMenu getMenuByMenuId(Long menuId);

  /**
   * @Author kangyang
   * @Description 修改用户信息
   * @Date 12:54 2021/5/17
   * @Param [addMenuReq]
   * @return java.lang.Boolean
   **/
  Boolean updateMenuInfo(AddMenuReq addMenuReq);

  /**
   * @Author kangyang
   * @Description 删除菜单
   * @Date 16:00 2021/5/17
   * @Param [menuId]
   * @return java.lang.Boolean
   **/
  Boolean deleteMenu(Long menuId);
}
